package com.vanysoft.business.base.user.controller.demo;

import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.Date;


/**
 * 项目名称：SharpClaw移动门户
 * 类名称：BaseUserDemo
 * 类描述：人员信息
 * 创建人：SharpClaw_x
 * 创建时间：2017年6月8日 上午11:55:50
 * 修改人：SharpClaw_x
 * 修改时间：2017年6月8日 上午11:55:50
 * 版本信息：@version 1.0
 * Copyright (c) 2017SharpClaw-版权所有
 * 修改备注：
 */


public class BaseUserDemo {
    private String userId;
    @NotEmpty
    @Size(max = 36)
    private String userAccount;
    @NotEmpty
    @Size(max = 50)
    private String userName;
    private String photoUrl;
    private String photo;
    private String gender;
    private String nickname;
    private String qrcode;
    private String searchKeyWord1;
    private String searchKeyWord2;
    private String userPassword;
    private String identificationTypeCode;
    @Size(max = 25)
    private String identificationNo;
    private String company;
    private String dept;
    private String jobPosition;
    private String officeTel;
    @Pattern(regexp = "^(((13[0-9]{1})|(15[0-9]{1})|(18[0-9]{1})|(17[0-9]{1}))+\\d{8})?$", message = "填写有效的手机号码")
    private String mobile;
    @Email
    private String email;
    private String microBlogs;
    private String wechat;
    private String tel;
    private String isCustomer;
    private String status;
    private Date updateTime;
    private String isAvailable;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getSearchKeyWord1() {
        return searchKeyWord1;
    }

    public void setSearchKeyWord1(String searchKeyWord1) {
        this.searchKeyWord1 = searchKeyWord1;
    }

    public String getSearchKeyWord2() {
        return searchKeyWord2;
    }

    public void setSearchKeyWord2(String searchKeyWord2) {
        this.searchKeyWord2 = searchKeyWord2;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getIdentificationTypeCode() {
        return identificationTypeCode;
    }

    public void setIdentificationTypeCode(String identificationTypeCode) {
        this.identificationTypeCode = identificationTypeCode;
    }

    public String getIdentificationNo() {
        return identificationNo;
    }

    public void setIdentificationNo(String identificationNo) {
        this.identificationNo = identificationNo;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getJobPosition() {
        return jobPosition;
    }

    public void setJobPosition(String jobPosition) {
        this.jobPosition = jobPosition;
    }

    public String getOfficeTel() {
        return officeTel;
    }

    public void setOfficeTel(String officeTel) {
        this.officeTel = officeTel;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMicroBlogs() {
        return microBlogs;
    }

    public void setMicroBlogs(String microBlogs) {
        this.microBlogs = microBlogs;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getIsCustomer() {
        return isCustomer;
    }

    public void setIsCustomer(String isCustomer) {
        this.isCustomer = isCustomer;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsAvailable() {
        return isAvailable;
    }

    public void setIsAvailable(String isAvailable) {
        this.isAvailable = isAvailable;
    }
}
